<template>
  <div class="page">
    <div class="cover-title">
      {{reportName}}
    </div>
    <div class="footer">
      <div class="report-entity">报告主体（盖章）：</div>
      <div class="report-entity">报告年度：</div>
      <div class="report-entity">
        日期：
        <span class="date">年</span>
        <span class="date">月</span>
        <span class="date">日</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ReportCover',
  data() {
    return {
      reportName: '',
    };
  },
  async created() {
    this.reportName = this.$route.query?.reportName;
  },
};
</script>

<style lang="scss" scoped>
.page {
  height: 1410px;
  width: 950px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  .cover-title {
    padding-top: 400px;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: center;
  }

  .footer {
    margin-left: 20px;
    font-size: 30px;
    font-weight: 600;

    .report-entity {
      margin-bottom: 10px;

      .date {
        margin-left: 70px;
      }
    }
  }
}
</style>
